package com.sinosoft.ptas.entity;

import java.io.Serializable;
import java.util.Date;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 目标与司局的对应关系实体
 * @author lianWuJun
 * @time   2017年2月20日 下午6:24:14
 */
public class TargetOrgRefEntity implements Serializable{
	
	private static final long serialVersionUID = 1L;

	@NotBlank(message = "{target_organization_ref.id.notText}")
	@Length(max = 36, message = "{target_organization_ref.id.maxLength}")
	private String id;//目标省局关系编号
	
	@Length(max = 36, message = "{target_organization_ref.tid.maxLength}")
	private String tid;//目标编号
	
	@Length(max = 36, message = "{target_organization_ref.oid.maxLength}")
	private String oid;//省局编号
	
	private String creater;//创建者
	private Date   createTime;//创建时间
	private String updater;//更新者
	private Date   updateTime;//更新时间
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTid() {
		return tid;
	}
	public void setTid(String tid) {
		this.tid = tid;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getCreater() {
		return creater;
	}
	public void setCreater(String creater) {
		this.creater = creater;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getUpdater() {
		return updater;
	}
	public void setUpdater(String updater) {
		this.updater = updater;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
